.text
.global main
.type main, @function
main:
.BEGIN:
  addi sp, sp, -32
  sd ra, 24(sp)
  sd s0, 16(sp)
  addi s0, sp, 32
.B1:
  li t0, 0
  sw t0, -20(s0)
  lw t0, -20(s0)
  li t1, 0
  bne t0, t1, .B2
  li t0, 1
  sw t0, -24(s0)
  lw t0, -24(s0)
  mv a0, t0
  j .END
  j .B3
.B2:
  li t0, 0
  sw t0, -28(s0)
  lw t0, -28(s0)
  mv a0, t0
  j .END
.B3:
.END:
  ld ra, 24(sp)
  ld s0, 16(sp)
  addi sp, sp, 32
  ret
